@echo off
chcp 65001 >nul
echo Checking port usage...
echo.
echo Port 3306 (MySQL):
netstat -ano | findstr :3306
echo.
echo Port 7586 (Application):
netstat -ano | findstr :7586
echo.
echo Port 8080 (phpMyAdmin):
netstat -ano | findstr :8080
echo.
echo If you need to kill processes using these ports, run:
echo taskkill /f /pid [PID_NUMBER]
echo.
pause